package com.wuming.house.service;

import com.wuming.house.model.GoodsGroup;

import java.util.List;

/**
 * @author xuhuai
 * @createTime 2019/8/16 18:09
 * @Description:
 */
public interface GoodsGroupService {

    List<GoodsGroup> getGoodsGroupByPage(String name,int pageIndex,int pageSize);

    int getTotal(String name);

    GoodsGroup getGoodsGroupById(Integer id);

    void saveGoodsGroup(GoodsGroup goodsGroup);

    void modifyGoodsGroup(GoodsGroup goodsGroup);

    void deleteGoodsGroupById(Integer id);

    GoodsGroup getGoodsGroupByType(Integer groupType);

}
